package com.ruoyi.ahs.scheduler;

import com.ruoyi.quartz.service.ISysJobLogService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 定时任务管理
 *
 * @author 辛凤文
 * @since 1.0
 */
@Component
public class JobLogScheduler {

    @Resource
    private ISysJobLogService logService;

    public void clear() {
        logService.cleanJobLog();
    }
}
